﻿namespace Cos.Core.NHibernate.Tests
{
    using Cos.Core.NHibernate.Mapping;

    using FluentNHibernate;

    public class TestModel : PersistenceModel
    {
        public TestModel()
        {
            AddMappingsFromAssembly(typeof(CultureMap).Assembly);
            AddMappingsFromAssembly(typeof(BlogMap).Assembly);
            AddMappingsFromAssembly(typeof(ArticleMap).Assembly);
            AddMappingsFromAssembly(typeof(ArticleCultureMap).Assembly);
            AddMappingsFromAssembly(typeof(BlogCultureMap).Assembly);
            AddMappingsFromAssembly(typeof(CommentMap).Assembly);
            AddMappingsFromAssembly(typeof(TagMap).Assembly);
        }
    }
}